Optimal. Leaf size=219 \[ \frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}-\frac {3 \sqrt {a} b x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{2 \sqrt {a x^2+b x^3+c x^4}}+\frac {3 \left (b^2+4 a c\right ) x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8 \sqrt {c} \sqrt {a x^2+b x^3+c x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 219, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {1934, 1959,
1947, 857, 635, 212, 738} \begin {gather*} \frac {3 x \left (4 a c+b^2\right ) \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8 \sqrt {c} \sqrt {a x^2+b x^3+c x^4}}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}+\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {3 \sqrt {a} b x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{2 \sqrt {a x^2+b x^3+c x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 635
Rule 738
Rule 857
Rule 1934
Rule 1947
Rule 1959
Rubi steps
\begin {align*} \int \frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^5} \, dx &=-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}+\frac {3}{2} \int \frac {(b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{x^2} \, dx\\ &=\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}+\frac {3 \int \frac {4 a b c+c \left (b^2+4 a c\right ) x}{\sqrt {a x^2+b x^3+c x^4}} \, dx}{8 c}\\ &=\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}+\frac {\left (3 x \sqrt {a+b x+c x^2}\right ) \int \frac {4 a b c+c \left (b^2+4 a c\right ) x}{x \sqrt {a+b x+c x^2}} \, dx}{8 c \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}+\frac {\left (3 a b x \sqrt {a+b x+c x^2}\right ) \int \frac {1}{x \sqrt {a+b x+c x^2}} \, dx}{2 \sqrt {a x^2+b x^3+c x^4}}+\frac {\left (3 \left (b^2+4 a c\right ) x \sqrt {a+b x+c x^2}\right ) \int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{8 \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}-\frac {\left (3 a b x \sqrt {a+b x+c x^2}\right ) \text {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {2 a+b x}{\sqrt {a+b x+c x^2}}\right )}{\sqrt {a x^2+b x^3+c x^4}}+\frac {\left (3 \left (b^2+4 a c\right ) x \sqrt {a+b x+c x^2}\right ) \text {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{4 \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {3 (3 b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{4 x}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^4}-\frac {3 \sqrt {a} b x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{2 \sqrt {a x^2+b x^3+c x^4}}+\frac {3 \left (b^2+4 a c\right ) x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8 \sqrt {c} \sqrt {a x^2+b x^3+c x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.53, size = 156, normalized size = 0.71 \begin {gather*} \frac {\sqrt {a+x (b+c x)} \left (2 \sqrt {c} \sqrt {a+x (b+c x)} (-4 a+x (5 b+2 c x))+24 \sqrt {a} b \sqrt {c} x \tanh ^{-1}\left (\frac {\sqrt {c} x-\sqrt {a+x (b+c x)}}{\sqrt {a}}\right )-3 \left (b^2+4 a c\right ) x \log \left (b+2 c x-2 \sqrt {c} \sqrt {a+x (b+c x)}\right )\right )}{8 \sqrt {c} \sqrt {x^2 (a+x (b+c x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 254, normalized size = 1.16
method | result | size |
risch | \(-\frac {a \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}{x^{2}}+\frac {\left (\frac {c x \sqrt {c \,x^{2}+b x +a}}{2}+\frac {5 b \sqrt {c \,x^{2}+b x +a}}{4}+\frac {3 b^{2} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{8 \sqrt {c}}+\frac {3 a \sqrt {c}\, \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{2}-\frac {3 \sqrt {a}\, b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right )}{2}\right ) \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}{x \sqrt {c \,x^{2}+b x +a}}\) | \(187\) |
default | \(\frac {\left (c \,x^{4}+b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} \left (8 c^{\frac {5}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} x^{2}+12 c^{\frac {5}{2}} \sqrt {c \,x^{2}+b x +a}\, a \,x^{2}-12 c^{\frac {3}{2}} a^{\frac {3}{2}} \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) b x -8 \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} c^{\frac {3}{2}}+8 c^{\frac {3}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} b x +18 c^{\frac {3}{2}} \sqrt {c \,x^{2}+b x +a}\, a b x +12 \ln \left (\frac {2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}+2 c x +b}{2 \sqrt {c}}\right ) a^{2} c^{2} x +3 c \ln \left (\frac {2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}+2 c x +b}{2 \sqrt {c}}\right ) a \,b^{2} x \right )}{8 x^{4} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} a \,c^{\frac {3}{2}}}\) | \(254\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 757, normalized size = 3.46 \begin {gather*} \left [\frac {12 \, \sqrt {a} b c x^{2} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) + 3 \, {\left (b^{2} + 4 \, a c\right )} \sqrt {c} x^{2} \log \left (-\frac {8 \, c^{2} x^{3} + 8 \, b c x^{2} + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {c} + {\left (b^{2} + 4 \, a c\right )} x}{x}\right ) + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c^{2} x^{2} + 5 \, b c x - 4 \, a c\right )}}{16 \, c x^{2}}, \frac {6 \, \sqrt {a} b c x^{2} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) - 3 \, {\left (b^{2} + 4 \, a c\right )} \sqrt {-c} x^{2} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{3} + b c x^{2} + a c x\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c^{2} x^{2} + 5 \, b c x - 4 \, a c\right )}}{8 \, c x^{2}}, \frac {24 \, \sqrt {-a} b c x^{2} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) + 3 \, {\left (b^{2} + 4 \, a c\right )} \sqrt {c} x^{2} \log \left (-\frac {8 \, c^{2} x^{3} + 8 \, b c x^{2} + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {c} + {\left (b^{2} + 4 \, a c\right )} x}{x}\right ) + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c^{2} x^{2} + 5 \, b c x - 4 \, a c\right )}}{16 \, c x^{2}}, \frac {12 \, \sqrt {-a} b c x^{2} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) - 3 \, {\left (b^{2} + 4 \, a c\right )} \sqrt {-c} x^{2} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{3} + b c x^{2} + a c x\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c^{2} x^{2} + 5 \, b c x - 4 \, a c\right )}}{8 \, c x^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x + c x^{2}\right )\right )^{\frac {3}{2}}}{x^{5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (c\,x^4+b\,x^3+a\,x^2\right )}^{3/2}}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________